/**
 * 导航,首页
 */ 
import React,{Component} from 'react';
import Tabbar from './components/Tabbar';
import store from './redux/store';
import MRouter from './route/IndexRouter';
class Zhuye extends Component{
  //store.subscribe订阅
  componentDidMount(){
    store.subscribe(()=>{
      console.log("app中订阅",store.getState())//store.getState()拿到最新状态..
    })
  }
  render() {
    return (  
      <div>
        <MRouter>
          <Tabbar></Tabbar>
        </MRouter>
      </div>
    );
  };
};
export default Zhuye;
